<div class="breadcrumb">
    <ul>
        <li>
            <i class="icon-home home-icon"></i>
            <a href="#">Home</a>
            <span class="divider">
                <i class="icon-angle-right arrow-icon"></i>
            </span>
        </li>
        <li>
            <a href="#">Coordenação</a>

            <span class="divider">
                <i class="icon-angle-right arrow-icon"></i>
            </span>
        </li>
        <li class="active">Avaliar grades</li>
    </ul>
</div>
<div id="conteudo">
    <div class="c_header">
        <h1 class="tituloh1">Lista de grades</h1>       
    </div>
    <p id="grade_status">Curso: Sistemas de informação Contexto: 2015/1</p>
    <p>&nbsp;</p>
    <div>
        <table id="rqs_lista" class="table-sort table-sort-search table-sort-show-search-count" cellspacing="0" width="100%">
            <thead>
                <tr>
                    <th>Código da grade</th>
                    <th>Aluno</th>
                    <th>Matrícula</th>
                    <th>Semestre inicial</th>
                    <th>Status (<small>passe o mouse</small>)</th>
                </tr>
            </thead>
            <tfoot>
                <tr>
                    <th>Código da grade</th>
                    <th>Aluno</th>
                    <th>Matrícula</th>
                    <th>Semestre inicial</th>
                    <th>Status</th>
                </tr>
            </tfoot>
            <tbody>
                <?php foreach ($rqs as $rqr) { ?>
                    <tr>
                        <td><?=  str_pad('20151' . $rqr['codigo'],12,'0',STR_PAD_LEFT); ?></td>
                        <td><a href="/coordenacao/grade/avaliar/<?= $rqr['codigo'] . '/'; ?>">
                                <?= $rqr['nome'] ?></a></td>
                        <td><?= $rqr['matricula'] ?></td>
                        <td><?= $rqr['ano']. '/' . $rqr['semestre'] ?></td>
                        <td class="tooltip" title="status<?= $rqr['status'] ?>" data-search="<?= $rqr['status'] ?>">
                            <?= get_statusGrade($rqr['status']) ?></td>
                    </tr>
                <?php } ?>
            </tbody>
        </table>
    </div>
    <p>&nbsp;</p>
</div>